#define _CRT_SECURE_NO_WARNINGS 1
#include"vector.h"

int main()
{
	ssw::vector<int> v;
	v.push_back(1);
	v.push_back(2);
	v.push_back(3);
	v.push_back(4);
	v.push_back(5);
	v.push_back(2);
	v.insert(v.end(), 0);
	v.resize(10,1);
	ssw::vector<int>::iterator it = v.begin();
	while (it!=v.end())
	{
		std::cout << *it << " ";
		it++;
	}
	std::cout << std::endl;
	ssw::vector<int>v1;
	v1 = v;
	ssw::vector<int>::iterator it1 = v1.begin();
	while (it1 != v1.end())
	{
		std::cout << *it1 << " ";
		it1++;
	}
	return 0;
}